#define  _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <vector>
using namespace std;

int main()
{
	int n;
	cin >> n;
	vector<int> arr(n);
	int sum = 0;
	for (int i = 0; i < n; i++)
	{
		cin >> arr[i];
		sum += arr[i];
	}
	if (sum % 2)
	{
		cout << "false" << endl;
		return 0;
	}
	vector<int> dp(sum / 2 + 1);
	for (auto e : arr)
		for (int i = sum / 2; i >= 0; i--)
			if (i >= e) dp[i] = max(dp[i], dp[i - e] + e);
	if (dp[sum / 2] == sum / 2)
		cout << "true" << endl;
	else cout << "false" << endl;
}